<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
Route::group(['prefix'=>'before'],function () {

    Route::any('Page/index', 'Before\PageController@index');
    Route::any('Page/select', 'Before\PageController@select');
    Route::get('Page/edit{id}','Before\PageController@edit');
    Route::post('Page/doedit','Before\PageController@doedit');
    Route::get('Page/zhao','Before\PageController@zhao');
    Route::get('Page/xiangqing','Before\PageController@xiangqing');
    Route::get('Page/tiaozhuan','Before\PageController@tiaozhuan');


    Route::any('Content/index', 'Before\ContentController@index');
    Route::any('Content/select','Before\ContentController@select');
    Route::any('Content/tiaozhuan','Before\ContentController@tiaozhuan');

    Route::any('DingDan/index', 'Before\DingDanController@index');


    Route::any('List/index', 'Before\ListController@index');



    Route::any('NewList/index', 'Before\NewListController@index');


    Route::any('ProDet/index', 'Before\ProDetController@index');
    Route::any('ProDet/yuding','Before\ProDetController@yuding');

    Route::any('ProDet/order','Before\ProDetController@order');
    Route::any('ProDet/book','Before\ProDetController@book');


});
